/*
 * XML Type:  PresentmentDeliveryResponseMessageSetV1
 * Namespace: http://ofx.net/types/2003/04
 * Java type: net.ofx.types.x2003.x04.PresentmentDeliveryResponseMessageSetV1
 *
 * Automatically generated - do not modify.
 */
package net.ofx.types.x2003.x04.impl;
/**
 * An XML PresentmentDeliveryResponseMessageSetV1(@http://ofx.net/types/2003/04).
 *
 * This is a complex type.
 */
public class PresentmentDeliveryResponseMessageSetV1Impl extends net.ofx.types.x2003.x04.impl.AbstractResponseMessageSetImpl implements net.ofx.types.x2003.x04.PresentmentDeliveryResponseMessageSetV1
{
    
    public PresentmentDeliveryResponseMessageSetV1Impl(org.apache.xmlbeans.SchemaType sType)
    {
        super(sType);
    }
    
    private static final javax.xml.namespace.QName PRESLISTTRNRS$0 = 
        new javax.xml.namespace.QName("", "PRESLISTTRNRS");
    private static final javax.xml.namespace.QName PRESGRPACCTINFOTRNRS$2 = 
        new javax.xml.namespace.QName("", "PRESGRPACCTINFOTRNRS");
    private static final javax.xml.namespace.QName PRESDETAILTRNRS$4 = 
        new javax.xml.namespace.QName("", "PRESDETAILTRNRS");
    private static final javax.xml.namespace.QName BILLTBLSTRUCTTRNRS$6 = 
        new javax.xml.namespace.QName("", "BILLTBLSTRUCTTRNRS");
    private static final javax.xml.namespace.QName PRESNOTIFYTRNRS$8 = 
        new javax.xml.namespace.QName("", "PRESNOTIFYTRNRS");
    private static final javax.xml.namespace.QName BILLSTATUSMODTRNRS$10 = 
        new javax.xml.namespace.QName("", "BILLSTATUSMODTRNRS");
    private static final javax.xml.namespace.QName PRESMAILSYNCRS$12 = 
        new javax.xml.namespace.QName("", "PRESMAILSYNCRS");
    private static final javax.xml.namespace.QName PRESMAILTRNRS$14 = 
        new javax.xml.namespace.QName("", "PRESMAILTRNRS");
    
    
    /**
     * Gets array of all "PRESLISTTRNRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentListTransactionResponse[] getPRESLISTTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESLISTTRNRS$0, targetList);
            net.ofx.types.x2003.x04.PresentmentListTransactionResponse[] result = new net.ofx.types.x2003.x04.PresentmentListTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESLISTTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentListTransactionResponse getPRESLISTTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentListTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentListTransactionResponse)get_store().find_element_user(PRESLISTTRNRS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESLISTTRNRS" element
     */
    public int sizeOfPRESLISTTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESLISTTRNRS$0);
        }
    }
    
    /**
     * Sets array of all "PRESLISTTRNRS" element
     */
    public void setPRESLISTTRNRSArray(net.ofx.types.x2003.x04.PresentmentListTransactionResponse[] preslisttrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(preslisttrnrsArray, PRESLISTTRNRS$0);
        }
    }
    
    /**
     * Sets ith "PRESLISTTRNRS" element
     */
    public void setPRESLISTTRNRSArray(int i, net.ofx.types.x2003.x04.PresentmentListTransactionResponse preslisttrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentListTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentListTransactionResponse)get_store().find_element_user(PRESLISTTRNRS$0, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(preslisttrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESLISTTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentListTransactionResponse insertNewPRESLISTTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentListTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentListTransactionResponse)get_store().insert_element_user(PRESLISTTRNRS$0, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESLISTTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentListTransactionResponse addNewPRESLISTTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentListTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentListTransactionResponse)get_store().add_element_user(PRESLISTTRNRS$0);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESLISTTRNRS" element
     */
    public void removePRESLISTTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESLISTTRNRS$0, i);
        }
    }
    
    /**
     * Gets array of all "PRESGRPACCTINFOTRNRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse[] getPRESGRPACCTINFOTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESGRPACCTINFOTRNRS$2, targetList);
            net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse[] result = new net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESGRPACCTINFOTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse getPRESGRPACCTINFOTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse)get_store().find_element_user(PRESGRPACCTINFOTRNRS$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESGRPACCTINFOTRNRS" element
     */
    public int sizeOfPRESGRPACCTINFOTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESGRPACCTINFOTRNRS$2);
        }
    }
    
    /**
     * Sets array of all "PRESGRPACCTINFOTRNRS" element
     */
    public void setPRESGRPACCTINFOTRNRSArray(net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse[] presgrpacctinfotrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(presgrpacctinfotrnrsArray, PRESGRPACCTINFOTRNRS$2);
        }
    }
    
    /**
     * Sets ith "PRESGRPACCTINFOTRNRS" element
     */
    public void setPRESGRPACCTINFOTRNRSArray(int i, net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse presgrpacctinfotrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse)get_store().find_element_user(PRESGRPACCTINFOTRNRS$2, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(presgrpacctinfotrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESGRPACCTINFOTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse insertNewPRESGRPACCTINFOTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse)get_store().insert_element_user(PRESGRPACCTINFOTRNRS$2, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESGRPACCTINFOTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse addNewPRESGRPACCTINFOTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentGroupAccountInfoTransactionResponse)get_store().add_element_user(PRESGRPACCTINFOTRNRS$2);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESGRPACCTINFOTRNRS" element
     */
    public void removePRESGRPACCTINFOTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESGRPACCTINFOTRNRS$2, i);
        }
    }
    
    /**
     * Gets array of all "PRESDETAILTRNRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse[] getPRESDETAILTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESDETAILTRNRS$4, targetList);
            net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse[] result = new net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESDETAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse getPRESDETAILTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse)get_store().find_element_user(PRESDETAILTRNRS$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESDETAILTRNRS" element
     */
    public int sizeOfPRESDETAILTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESDETAILTRNRS$4);
        }
    }
    
    /**
     * Sets array of all "PRESDETAILTRNRS" element
     */
    public void setPRESDETAILTRNRSArray(net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse[] presdetailtrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(presdetailtrnrsArray, PRESDETAILTRNRS$4);
        }
    }
    
    /**
     * Sets ith "PRESDETAILTRNRS" element
     */
    public void setPRESDETAILTRNRSArray(int i, net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse presdetailtrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse)get_store().find_element_user(PRESDETAILTRNRS$4, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(presdetailtrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESDETAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse insertNewPRESDETAILTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse)get_store().insert_element_user(PRESDETAILTRNRS$4, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESDETAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse addNewPRESDETAILTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentDetailTransactionResponse)get_store().add_element_user(PRESDETAILTRNRS$4);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESDETAILTRNRS" element
     */
    public void removePRESDETAILTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESDETAILTRNRS$4, i);
        }
    }
    
    /**
     * Gets array of all "BILLTBLSTRUCTTRNRS" elements
     */
    public net.ofx.types.x2003.x04.BillTableStructureTransactionResponse[] getBILLTBLSTRUCTTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(BILLTBLSTRUCTTRNRS$6, targetList);
            net.ofx.types.x2003.x04.BillTableStructureTransactionResponse[] result = new net.ofx.types.x2003.x04.BillTableStructureTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "BILLTBLSTRUCTTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillTableStructureTransactionResponse getBILLTBLSTRUCTTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTableStructureTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillTableStructureTransactionResponse)get_store().find_element_user(BILLTBLSTRUCTTRNRS$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "BILLTBLSTRUCTTRNRS" element
     */
    public int sizeOfBILLTBLSTRUCTTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLTBLSTRUCTTRNRS$6);
        }
    }
    
    /**
     * Sets array of all "BILLTBLSTRUCTTRNRS" element
     */
    public void setBILLTBLSTRUCTTRNRSArray(net.ofx.types.x2003.x04.BillTableStructureTransactionResponse[] billtblstructtrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(billtblstructtrnrsArray, BILLTBLSTRUCTTRNRS$6);
        }
    }
    
    /**
     * Sets ith "BILLTBLSTRUCTTRNRS" element
     */
    public void setBILLTBLSTRUCTTRNRSArray(int i, net.ofx.types.x2003.x04.BillTableStructureTransactionResponse billtblstructtrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTableStructureTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillTableStructureTransactionResponse)get_store().find_element_user(BILLTBLSTRUCTTRNRS$6, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(billtblstructtrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BILLTBLSTRUCTTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillTableStructureTransactionResponse insertNewBILLTBLSTRUCTTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTableStructureTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillTableStructureTransactionResponse)get_store().insert_element_user(BILLTBLSTRUCTTRNRS$6, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BILLTBLSTRUCTTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillTableStructureTransactionResponse addNewBILLTBLSTRUCTTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillTableStructureTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillTableStructureTransactionResponse)get_store().add_element_user(BILLTBLSTRUCTTRNRS$6);
            return target;
        }
    }
    
    /**
     * Removes the ith "BILLTBLSTRUCTTRNRS" element
     */
    public void removeBILLTBLSTRUCTTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLTBLSTRUCTTRNRS$6, i);
        }
    }
    
    /**
     * Gets array of all "PRESNOTIFYTRNRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse[] getPRESNOTIFYTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESNOTIFYTRNRS$8, targetList);
            net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse[] result = new net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESNOTIFYTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse getPRESNOTIFYTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse)get_store().find_element_user(PRESNOTIFYTRNRS$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESNOTIFYTRNRS" element
     */
    public int sizeOfPRESNOTIFYTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESNOTIFYTRNRS$8);
        }
    }
    
    /**
     * Sets array of all "PRESNOTIFYTRNRS" element
     */
    public void setPRESNOTIFYTRNRSArray(net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse[] presnotifytrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(presnotifytrnrsArray, PRESNOTIFYTRNRS$8);
        }
    }
    
    /**
     * Sets ith "PRESNOTIFYTRNRS" element
     */
    public void setPRESNOTIFYTRNRSArray(int i, net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse presnotifytrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse)get_store().find_element_user(PRESNOTIFYTRNRS$8, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(presnotifytrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESNOTIFYTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse insertNewPRESNOTIFYTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse)get_store().insert_element_user(PRESNOTIFYTRNRS$8, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESNOTIFYTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse addNewPRESNOTIFYTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentNotifyTransactionResponse)get_store().add_element_user(PRESNOTIFYTRNRS$8);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESNOTIFYTRNRS" element
     */
    public void removePRESNOTIFYTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESNOTIFYTRNRS$8, i);
        }
    }
    
    /**
     * Gets array of all "BILLSTATUSMODTRNRS" elements
     */
    public net.ofx.types.x2003.x04.BillStatusModTransactionResponse[] getBILLSTATUSMODTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(BILLSTATUSMODTRNRS$10, targetList);
            net.ofx.types.x2003.x04.BillStatusModTransactionResponse[] result = new net.ofx.types.x2003.x04.BillStatusModTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "BILLSTATUSMODTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillStatusModTransactionResponse getBILLSTATUSMODTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatusModTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillStatusModTransactionResponse)get_store().find_element_user(BILLSTATUSMODTRNRS$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "BILLSTATUSMODTRNRS" element
     */
    public int sizeOfBILLSTATUSMODTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(BILLSTATUSMODTRNRS$10);
        }
    }
    
    /**
     * Sets array of all "BILLSTATUSMODTRNRS" element
     */
    public void setBILLSTATUSMODTRNRSArray(net.ofx.types.x2003.x04.BillStatusModTransactionResponse[] billstatusmodtrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(billstatusmodtrnrsArray, BILLSTATUSMODTRNRS$10);
        }
    }
    
    /**
     * Sets ith "BILLSTATUSMODTRNRS" element
     */
    public void setBILLSTATUSMODTRNRSArray(int i, net.ofx.types.x2003.x04.BillStatusModTransactionResponse billstatusmodtrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatusModTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillStatusModTransactionResponse)get_store().find_element_user(BILLSTATUSMODTRNRS$10, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(billstatusmodtrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "BILLSTATUSMODTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillStatusModTransactionResponse insertNewBILLSTATUSMODTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatusModTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillStatusModTransactionResponse)get_store().insert_element_user(BILLSTATUSMODTRNRS$10, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "BILLSTATUSMODTRNRS" element
     */
    public net.ofx.types.x2003.x04.BillStatusModTransactionResponse addNewBILLSTATUSMODTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.BillStatusModTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.BillStatusModTransactionResponse)get_store().add_element_user(BILLSTATUSMODTRNRS$10);
            return target;
        }
    }
    
    /**
     * Removes the ith "BILLSTATUSMODTRNRS" element
     */
    public void removeBILLSTATUSMODTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(BILLSTATUSMODTRNRS$10, i);
        }
    }
    
    /**
     * Gets array of all "PRESMAILSYNCRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentMailSyncResponse[] getPRESMAILSYNCRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESMAILSYNCRS$12, targetList);
            net.ofx.types.x2003.x04.PresentmentMailSyncResponse[] result = new net.ofx.types.x2003.x04.PresentmentMailSyncResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESMAILSYNCRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailSyncResponse getPRESMAILSYNCRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailSyncResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailSyncResponse)get_store().find_element_user(PRESMAILSYNCRS$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESMAILSYNCRS" element
     */
    public int sizeOfPRESMAILSYNCRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESMAILSYNCRS$12);
        }
    }
    
    /**
     * Sets array of all "PRESMAILSYNCRS" element
     */
    public void setPRESMAILSYNCRSArray(net.ofx.types.x2003.x04.PresentmentMailSyncResponse[] presmailsyncrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(presmailsyncrsArray, PRESMAILSYNCRS$12);
        }
    }
    
    /**
     * Sets ith "PRESMAILSYNCRS" element
     */
    public void setPRESMAILSYNCRSArray(int i, net.ofx.types.x2003.x04.PresentmentMailSyncResponse presmailsyncrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailSyncResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailSyncResponse)get_store().find_element_user(PRESMAILSYNCRS$12, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(presmailsyncrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESMAILSYNCRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailSyncResponse insertNewPRESMAILSYNCRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailSyncResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailSyncResponse)get_store().insert_element_user(PRESMAILSYNCRS$12, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESMAILSYNCRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailSyncResponse addNewPRESMAILSYNCRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailSyncResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailSyncResponse)get_store().add_element_user(PRESMAILSYNCRS$12);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESMAILSYNCRS" element
     */
    public void removePRESMAILSYNCRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESMAILSYNCRS$12, i);
        }
    }
    
    /**
     * Gets array of all "PRESMAILTRNRS" elements
     */
    public net.ofx.types.x2003.x04.PresentmentMailTransactionResponse[] getPRESMAILTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            java.util.List targetList = new java.util.ArrayList();
            get_store().find_all_element_users(PRESMAILTRNRS$14, targetList);
            net.ofx.types.x2003.x04.PresentmentMailTransactionResponse[] result = new net.ofx.types.x2003.x04.PresentmentMailTransactionResponse[targetList.size()];
            targetList.toArray(result);
            return result;
        }
    }
    
    /**
     * Gets ith "PRESMAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailTransactionResponse getPRESMAILTRNRSArray(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailTransactionResponse)get_store().find_element_user(PRESMAILTRNRS$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            return target;
        }
    }
    
    /**
     * Returns number of "PRESMAILTRNRS" element
     */
    public int sizeOfPRESMAILTRNRSArray()
    {
        synchronized (monitor())
        {
            check_orphaned();
            return get_store().count_elements(PRESMAILTRNRS$14);
        }
    }
    
    /**
     * Sets array of all "PRESMAILTRNRS" element
     */
    public void setPRESMAILTRNRSArray(net.ofx.types.x2003.x04.PresentmentMailTransactionResponse[] presmailtrnrsArray)
    {
        synchronized (monitor())
        {
            check_orphaned();
            arraySetterHelper(presmailtrnrsArray, PRESMAILTRNRS$14);
        }
    }
    
    /**
     * Sets ith "PRESMAILTRNRS" element
     */
    public void setPRESMAILTRNRSArray(int i, net.ofx.types.x2003.x04.PresentmentMailTransactionResponse presmailtrnrs)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailTransactionResponse)get_store().find_element_user(PRESMAILTRNRS$14, i);
            if (target == null)
            {
                throw new IndexOutOfBoundsException();
            }
            target.set(presmailtrnrs);
        }
    }
    
    /**
     * Inserts and returns a new empty value (as xml) as the ith "PRESMAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailTransactionResponse insertNewPRESMAILTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailTransactionResponse)get_store().insert_element_user(PRESMAILTRNRS$14, i);
            return target;
        }
    }
    
    /**
     * Appends and returns a new empty value (as xml) as the last "PRESMAILTRNRS" element
     */
    public net.ofx.types.x2003.x04.PresentmentMailTransactionResponse addNewPRESMAILTRNRS()
    {
        synchronized (monitor())
        {
            check_orphaned();
            net.ofx.types.x2003.x04.PresentmentMailTransactionResponse target = null;
            target = (net.ofx.types.x2003.x04.PresentmentMailTransactionResponse)get_store().add_element_user(PRESMAILTRNRS$14);
            return target;
        }
    }
    
    /**
     * Removes the ith "PRESMAILTRNRS" element
     */
    public void removePRESMAILTRNRS(int i)
    {
        synchronized (monitor())
        {
            check_orphaned();
            get_store().remove_element(PRESMAILTRNRS$14, i);
        }
    }
}
